import type { AppRouteModule } from '@/router/types';
import { LAYOUT } from '@/router/constant';

const route: AppRouteModule = {
  path: '/dashboard',
  name: 'dashboard',
  component: LAYOUT,
  redirect: '/dashboard',
  meta: {
    orderNo: 100,
    icon: 'ant-design:dashboard-outlined',
    title: '首页',
  },
  children: [
    {
      path: '',
      name: 'dashboard',
      component: () => import('@/views/wex/dashboard/index.vue'),
      meta: {
        title: 'dashboard',
        hideMenu: true,
      },
    },
  ],
};

export default route;
